import request from "@/utils/request";

// 查询角色菜单
export function listRoleMenus(data) {
  return request({
    url: "/role-menu/list",
    method: "get",
    params: data,
  });
}

// 批量新增角色菜单
export function insertBatchRoleMenus(params, data) {
  return request({
    url: "/role-menu/batches",
    method: "post",
    params: params,
    data,
  });
}
